﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IDAL;
using Model;

namespace IDAL
{
    public interface IUserRelationDAL
    {
        void saveUserRelation(UserRelation relation);
        void updateUserRelation(UserRelation relation);
        void delateUserRelation(UserRelation relation);
        UserRelation getUserRelation(int id);
        IList<UserRelation> getUserRelation(User user);
        IList<UserRelation> getUserRelationFollow(User user);
        IList<UserRelation> getUserRelation();
        UserRelation getUserRelation(User who, User follow);
    }
}
